﻿using System;
using Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Model;


namespace NHibernateDemoTest
{
    [TestClass]
    public class BaseDalTest
    {
        private BaseDal<Customer> _customerDal = new BaseDal<Customer>();
        [TestMethod]
        public void GetTest()
        {
            var result = _customerDal.Query(1);
            Assert.AreEqual(result.Name,"mzy");
        }
    }
}
